/*
 *  config.h - System Configurations 
 *
 *  Copyright (C) 2011 Intersil Corporation
 *
 */
/*****************************************************************************/
/*																			 */
/*                           System Configurations                           */
/*																			 */
/*****************************************************************************/
#ifndef __CONFIG_H__
#define __CONFIG_H__

//-----------------------------------------------------------------------------
//		Firmware Version
//-----------------------------------------------------------------------------
#define	FWVER			0x005		// Rev 0.05

#define	REG_START_ADDRESS	0xc000		// register start 0xc000, for page0, 0xc100-page1 
//-----------------------------------------------------------------------------
//		Panel Resolution
//-----------------------------------------------------------------------------
#define PANEL_WVGA

#ifdef PANEL_WVGA
#define	PANEL_H		800
#define	PANEL_V		480
#endif

//-----------------------------------------------------------------------------
//		I2C Device Access Address Mapping
//-----------------------------------------------------------------------------

#define TW88I2CAddress		0x8a	// TW8835
#define	ADDRESS_TW9900		0x88

//-----------------------------------------------------------------------------
//		Options for Possible Inputs
//-----------------------------------------------------------------------------
#define SUPPORT_SVIDEO
#define SUPPORT_COMPONENT			// support component analog to decoder
#define SUPPORT_PC  				// support PC function
#define SUPPORT_DVI				// support DVI input
#define SUPPORT_HDMI

#define SUPPORT_TOUCH
#define DEBUG_TOUCH
#define SUPPORT_ANALOG_SENSOR

#define SUPPORT_UART1
//-----------------------------------------------------------------------------
//		Options for Possible Standards
//		Default:NTSC
//-----------------------------------------------------------------------------
#define SUPPORT_PAL			
#define SUPPORT_SECAM
#define SUPPORT_NTSC4		
#define SUPPORT_PALM	
#define SUPPORT_PALN		
#define SUPPORT_PAL60		

#define DEBUG_ERR	1
#define DEBUG_WARN	2
#define DEBUG_INFO	3
#define DEBUG_BREAK	4

#define DEBUG
//#define PRINT_BOOT_SPEED
//#define SUPPORT_GAMMA

//-----------------------------------------------------------------------------
//		Panel Vendor Specific
//-----------------------------------------------------------------------------

//#define MSD
//#define HSD7D
//#define Innolux7D
//#define AT070TN83_v01

//#define GPSBoard
//#define REMO_NEC

#endif // __CONFIG_H__
